package com.zzyl.service;

import com.zzyl.base.PageResponse;
import com.zzyl.dto.RoleDto;
import com.zzyl.vo.RoleVo;

import java.util.List;

public interface RoleService {
    PageResponse page(Integer pageNum, Integer pageSize, RoleDto roleDto);

    void insert(RoleDto roleDto);

    List<String> findCheckedResources(Long roleId);

    Boolean update(RoleDto roleDto);

    void delete(Long roleId);

    List<RoleVo> getAllRoel();
}
